package org.example.huadianguanli.service;

import com.alibaba.fastjson2.JSONObject;
import org.example.core.mysql.SearchPageResult;
import org.example.core.service.BaseService;
import org.example.huadianguanli.entity.TOrderEntity;
import org.example.huadianguanli.model.TOrderModel;

import java.util.Map;

/**
 * Description:
 * Date: 2024/2/14 20:17
 */
public interface TOrderService extends BaseService<String, TOrderModel, TOrderEntity> {
    void create(Map<String, Object> params,String userId);

    SearchPageResult<cn.hutool.json.JSONObject> page(int page, int limit, String userId,String code);

    void pay(Map<String, Object> params);

    void examine(Map<String, Object> params);
}
